package com.cjj.mybatis.object;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.Map;

/**
 * @Date 2021/11/03 11:54:56
 * @Created by BrownC_
 * @email ccc-ju@outlook.com
 */
public class SuperServiceImpl<M extends SuperMapper<T>, T> extends ServiceImpl<M, T> implements ISuperService<T> {

    @Override
    public boolean replaceInto(T entity) {
        return retBool(baseMapper.replaceInto(entity));
    }

    @Override
    public boolean replaceIntoByMap(Map<String, Object> columnMap) {
        return retBool(baseMapper.replaceIntoByMap(columnMap));
    }

}
